package com.chinaoly.baotou.web.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.io.Serializable;
import java.util.Date;

/**
 * @description class
 * Create by sunlm
 * on 2022-09-28 16:00
 * Make small but daily progress
 */
@Data
@Table(name = "T_YJ_ACTIVETY")
@ApiModel(value = "活动实体",description = "存储活动信息")
public class YjActivityVo implements Serializable {
    private static final long serialVersionUID = 6559790538970946215L;
    @Id
    @ApiModelProperty(value = "活动ID",required = false)
    private String activetyId;
    @ApiModelProperty(value = "活动标题",required = true)
    private String activetyTitle;
    @ApiModelProperty(value = "活动封面",required = true)
    private String activetyCoverPicture;
    @ApiModelProperty(value = "活动开始时间",required = true)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date activetyStartTime;
    @ApiModelProperty(value = "活动结束时间",required = true)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date activetyEndTime;
    @ApiModelProperty(value = "活动地址",required = true)
    private String activetyAddress;
    @ApiModelProperty(value = "活动类型CODE",required = false)
    private String activetyTypeCode;
    @ApiModelProperty(value = "活动类型",required = true)
    private String activetyType;
    @ApiModelProperty(value = "活动描述",required = true)
    private String activetyDesc;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "活动结束时间",required = true)
    private Date joinEndDate;
    @ApiModelProperty(value = "活动参与人数限制",required = true)
    private Integer memberLimit;
    @ApiModelProperty(value = "活动归属队伍",required = true)
    private String teamId;
    @ApiModelProperty(value = "队长ID",required = true)
    private String teamLeaderId;
    @ApiModelProperty(value = "队长",required = true)
    private String teamLeader;
    @ApiModelProperty(value = "队长手机号",required = true)
    private String teamLeaderPhone;
    @ApiModelProperty(value = "是否删除：0未删除，1删除",required = true)
    private Integer effectFlag ;
    @Transient
    @ApiModelProperty(value = "活动状态：报名中、报名截止、进行中、已结束",required = true)
    private String activityStatus ;
    @Transient
    @ApiModelProperty(value = "已报名活动人数",required = true)
    private Integer activityJoin ;
    @Transient
    @ApiModelProperty(value = "义警报名活动状态标识：0表示已报名；-1表示未报名",required = false)
    private Integer joinActivityStatus;
    @Transient
    @ApiModelProperty(value = "签到状态：未签到；已签到",required = false)
    private String sign;
    @Transient
    @ApiModelProperty(value = "签到时间",required = false)
    private Date signTime;
}
